package com.bff.gaia.mix.api.xjoin2.core.table;
/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

import com.bff.gaia.api.common.typeinfo.TypeInformation;

import java.io.Serializable;

/**
 * Description: gaia-parent
 * Created by tiger on 2019/7/18 16:58.
 */
public class FieldInfo implements Serializable {

	private static final long serialVersionUID = -1L;

	private String table;

	private String fieldName;

	private int fieldPos;

	private TypeInformation typeInformation;

	private boolean isJoinKey = false;

	public String getTable() {
		return table;
	}

	public void setTable(String table) {
		this.table = table;
	}

	public String getFieldName() {
		return fieldName;
	}

	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}

	public int getFieldPos() {
		return fieldPos;
	}

	public void setFieldPos(int fieldPos) {
		this.fieldPos = fieldPos;
	}

	public TypeInformation getTypeInformation() {
		return typeInformation;
	}

	public void setTypeInformation(TypeInformation typeInformation) {
		this.typeInformation = typeInformation;
	}

	public boolean isJoinKey() {
		return isJoinKey;
	}

	public void setJoinKey(boolean joinKey) {
		isJoinKey = joinKey;
	}
}